{{ content() }}
<div id="main1">
    <div class="container">
        <div class="login">
            <h2><span class="title"></span>Đăng nhập</h2>
            <div class="form">
                <div class="sub-form">
                    {{ form() }}
                    <p><label for="email">Username:</label></p>
                    {{form.render('username',['class':'username'])}}
                    {{form.messages('username')}}
                    <p><label for="password">Password:</label></p>
                    {{ form.render('password',['class':'password']) }}
                    {{ form.messages('password')}}      
                    {{ form.render('csrf', ['value': security.getToken()]) }}
                    <hr>
                    <button type="submit" class="button">Sign in</button>
                    <a class="forgotpass">
                        {{ link_to("resetpassword", "Forgot your password?") }}
                        {{endform()}}
                    </a>
                    <div class="remember-pass">
                        {{ form.render('remember',['class':'checkbox']) }}
                        {{ form.label('remember',['class':'cb-label']) }}
                    </div>
                </div>
            </div> 
        </div> 
    </div>  
</div>
<!-- End Content -->


